a = [1,1,1,1,1,2,3,32,3,3,4,4,5,5,6,7,8,98,9]
a = iter(a)
while True:
    try:
        line = next(a)
        print(line)
    except StopIteration:
        pass
